package com.jie.user;

import com.jie.component.validation.annotion.NotEmpty;
import com.jie.component.validation.annotion.Phone;
import lombok.Data;

/**
 * @author jie
 * @version 1.0 2025-02-11
 */
@Data
public class User {

    @NotEmpty(message = "不能是空的")
    private String name;

    @NotEmpty(message = "不能是空的")
    private Integer age;

    @Phone
    private String phone;
}
